//
//  VioInfoModel.swift
//  TrafficViolation
//
//  Created by eaglelive on 2017/5/18.
//  Copyright © 2017年 eaglelive. All rights reserved.
//

import Foundation
import SwiftyJSON
class VioInfoModel: NSObject {
    var content : String
    var opUser : String
    var ostatus : String
    var ostatusName : String
    var subTime : String
    var score : String
    var time : String
    var samount : String
    var isSelf : String
    var orderNo : String
    var address : String
    var amount : String
    var opTime : String
    var carNum : String
    var opUserName : String
    var legalnum : String
    var subUser : String
    var subUserName : String
    //初始化
    init(dic : JSON) {
        self.content = dic["content"].stringValue
        self.opUser = dic["opUser"].stringValue
        self.time = dic["time"].stringValue
        self.ostatus = dic["ostatus"].stringValue
        self.ostatusName = dic["ostatusName"].stringValue
        self.subTime = dic["subTime"].stringValue
        self.score = dic["score"].stringValue
        self.time = dic["time"].stringValue
        self.samount = dic["samount"].stringValue
        self.isSelf = dic["isSelf"].stringValue
        self.orderNo = dic["orderNo"].stringValue
        self.address = dic["address"].stringValue
        self.amount = dic["amount"].stringValue
        self.opTime = dic["opTime"].stringValue
        self.carNum = dic["carNum"].stringValue
        self.opUserName = dic["opUserName"].stringValue
        self.legalnum = dic["legalnum"].stringValue
        self.subUser = dic["subUser"].stringValue
        self.subUserName = dic["subUserName"].stringValue
    }
}
